from django.urls import path,re_path
from apps.Detail.views import PublishDetailsView,CommentView,FavorView

# 模板 路由

urlpatterns = [
    re_path(r'^detail/(?P<pk>\d+)/$',PublishDetailsView.as_view()), #文章详情页
    path("comment/",CommentView.as_view()), #评论
    path("favor/",FavorView.as_view()), #点赞
]
